<?php
namespace php\widgets\editorxml;
use yii\helpers\Html;
class WebContainerWidget extends WebWidget{
	public function run(){
		$options = $this->options;
        $shtml = '';
        if ($this->parent_type == 'listContainer') {
            $shtml .= Html::tag('li', $this->child, $options);
        }else{
            $shtml .= Html::tag('div', $this->child, $options);
        }
        return $shtml;
	}
}